From 2623ab58fe15b305d22cb39277d0181c6684a987 Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Wed, 2 May 2007 16:33:05 +0100 Subject: [PATCH] Fix PIFIsPhysical exception when starting Xend signed-off-by: Tom Wilkie --- tools/python/xen/xend/XendPIF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendPIF.py b/tools/python/xen/xend/XendPIF.py index 3ab84606a9..063394890d 100644 --- a/tools/python/xen/xend/XendPIF.py +++ b/tools/python/xen/xend/XendPIF.py @@ -205,7 +205,7 @@ class XendPIF(XendBase): ifs = [dev for dev, _1, _2 in linux_get_phy_ifaces()] if pif.get_VLAN() == -1: if pif.get_device() not in ifs: - pif.destroy() + XendBase.destroy(self) metrics.destroy() return None else: -- 2.30.2